<!DOCTYPE html>
<html>
<head>
	<title>推送请求记录</title>
	{{>/WEB-INF/pages/common/head_refs.part.html}}
</head>
<body>
{{>/WEB-INF/pages/common/layout_header.part.html}}
<div class="container">
	<ul class="breadcrumb">
	  <li><a href="{{ctx}}">首页</a> <span class="divider">/</span></li>
	  <li class="active">推送记录</li>
	</ul>
	{{#message}}
		<div id="message" class="alert alert-success"><button data-dismiss="alert" class="close">×</button>${message}</div>
	{{/message}}
	<div style="margin:5px 20px 10px">
		<a class="btn" href="{{ctx}}/push/appid">推送消息</a>
		<a class="btn" href="{{ctx}}/push/dc">设备列表</a>
		<a class="btn" href="{{ctx}}/push/config">推送配置管理</a>
		{{>/WEB-INF/pages/common/simplequery.part.html}}
    </div>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead><tr>
		<th>提交时间</th><th>发送范围</th><th>消息内容</th><th>目标设备数</th>
		</tr></thead>
		<tbody>
		{{#pushRequests.content}}		
			<tr>
				<td>{{submitTime}}</td>
				<td>按{{receiverType.description}}:{{receiverValue}}</td>
				<td>
				{{#message}}
					{{>/WEB-INF/pages/push/message.part.html}}
				{{/message}}
				</td>
				<td><a href="{{ctx}}/push/{{id}}">{{affectedDevices}}</a></td>
			</tr>
		{{/pushRequests.content}}
		</tbody>
	</table>
	{{#page}}
	{{>/WEB-INF/pages/common/pagination.part.html}}
	{{/page}}
	{{>/WEB-INF/pages/common/layout_footer.part.html}}
</div>	
</body>
</html>
